package com.neusoft.tijiancms.controller;

import com.neusoft.tijiancms.po.Users;
import com.neusoft.tijiancms.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/UsersController")
public class UsersController {
    @Autowired
    private UsersService usersService;
    @RequestMapping("/getUserbyId")
    public Object getUserbyId(Users users){
        return usersService.getUserbyId(users);
    }
}
